Skip to main content

mergMKDirectionsRouteStepGet

Type

function

Summary

Get a property of a directions route step

Syntax

mergMKDirectionsRouteStepGet(<pDirectionID>, <pRouteNumber>, <pStepNumber>, <pProperty>)

Description

Get a property of a directions route step

Parameters

NameTypeDescription

pDirectionID

A directions ID as returned by the mergMKDirections message

pRouteNumber

A route number between 1 and the number of routes sent in the mergMKDirections message

pStepNumber

The step number within the route.

pProperty

A route property

  • instructions : The written instructions for following the path represented by this step.

  • notice : Notices may include legal information or warning notices that apply to the step. For example, if the step crosses railroad tracks, it might contain a notice that warns the user not to cross the tracks when the lights are flashing.

  • distance : The distance of the route.

  • transport type : This property reflects the primary transport type used for the route. Individual steps of the route might use different transport types. One of: automobile

    • walking
    • any

Compatibility and Support

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?